import request from '@/utils/request'
const base_url = 'admin/order/orderInfo'
export default{
    getPageList(page,limit,searchObj){
        return request({
            url:`${base_url}/findOrdersPage/${page}/${limit}`,
            method:'post',
            data:searchObj
        })
    },
    getStatusList(){
        return request({
            url:`${base_url}/getStatusList`,
            method:'get',
        })
    },
    getOrders(orderId){
        return request({
            url:`${base_url}/getOrderInfoById/${orderId}`,
            method:'get',
        })
    }
}